package com.songlanyun.modules.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.account.entity.UserInfoEntity;
import com.songlanyun.modules.account.model.dto.UpdateUserInfoDTO;

import java.util.Map;

/**
 * 会员的信息表（如昵称，头像等）
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-06 14:07:42
 */
public interface UserInfoService extends IService<UserInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    UserInfoEntity loadById(Long userId, Boolean tw);

    void saveWxInfo(UserInfoEntity userInfoEntity);

    UserInfoEntity getUserInfoByShopId(Long id);

    String getNameById(Long id);

    void updateInfo(Long userId, UpdateUserInfoDTO dto);

    String getResNameById(Long userId);


}

